Aspect-Oriented Incremental Customization of Middleware Services
نویسندگان
چکیده
As distributed applications evolve, incremental customization of middleware services is often required; these customizations should be unpluggable, modular, and efficient. This is difficult to achieve because the customizations depend on both application-specific needs and the services provided. Although middleware allows programmers to separate application-specific functionality from lower-level details, traditional methods of customization do not allow efficient modularization. Currently, making even minor changes to customize middleware is complicated by the lack of locality. Programmers may have to compromise between the two extremes: to interpose a simple, well-localized layer of functionality between the application and middleware, or to make a large number of small, poorly localized, invasive changes to all execution points which interact with middleware services. Although the invasive approach allows a more efficient customization, it is harder to ensure consistency, more tedious to implement, and exceedingly difficult to unplug. Thus, a common approach is to add an extra layer for systemic concerns such as robustness, caching, filtering, and security. Aspect-oriented programming (AOP) offers a potential alternative between the interposition and invasive approaches by providing modular support for the implementation of crosscutting concerns. AOP enables the implementation of efficient customizations in a structured and unpluggable manner. We demonstrate this approach by comparing traditional and AOP customizations of fault tolerance in a distributed file system model, JNFS. Our results show that using AOP can reduce the amount of invasive code to almost zero, improve efficiency by leveraging the existing application behaviour, and facilitate incremental customization and extension of middleware services.
منابع مشابه
Jarcler: Aspect-Oriented Middleware for Distributed Software in Java
This paper proposes Jarcler, which is aspect-oriented middleware for using replicated objects in Java. It enables the users to customize the behavior of replicated objects per class so that the behavior fits requirements of a particular application. Although reflection has been a typical technique for customizing such behavior, this paper shows that reflection forces programmers to write a prog...
متن کاملAspect - Oriented Middleware by Dapeng Gao
Aspect-Oriented Middleware Dapeng Gao Master of Applied Science Graduate Department of Electrical and Computer Engineering University of Toronto 2006 This thesis proposes a new paradigm, Modelware, for reducing the complexity of middleware design and implementation. The Modelareware approach distinguishes between the core architecture design and the crosscutting architectural elements. The cros...
متن کاملAspectual Dependencies: Towards Pure Black-Box Aspect-Oriented Composition in Aspect-Component Models
In this paper we present the DyMAC aspect-component model that supports the specification of aspectual dependencies: these are explicit dependencies between advised and advising components involved in an aspect-oriented composition. DyMAC advocates a pure black-box approach to aspect-oriented composition and aspectual dependencies further extend this approach. The component model avoids explici...
متن کاملAspect-Oriented Reconfigurable Middleware for Pervasive Systems
One of the main features of pervasive computing systems is their need to be dynamically reconfigured in order to properly adapt to the continuous changes in their environment conditions (context). An appropriate solution to provide reconfigurability is Aspect-Oriented Software Development, which allows that optional functionalities can be enabled/disabled and services can be replaced with light...
متن کاملAspectual Dependencies: Towards Pure Black-Box Aspect-Oriented Composition in Component Models
In this paper we present the DyMAC aspectcomponent model that supports the specification of aspectual dependencies: these are explicit dependencies between advised and advising components involved in an aspect-oriented composition. DyMAC advocates a pure black-box approach to aspectoriented composition and aspectual dependencies further extend this approach. The component model avoids explicit ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2001